// pages/SperviseTeamInfo/SperviseTeamInfo.js
Page({

  /**
   * 页面的初始数据
   */
   data: {
    group_id:0,
    TeamName:"",
    AdminList: [{
      id: 0,
      name: '郝鸿宇',
      class: '超级管理员',
      post: '创始人'
    }],
    MemberList: [{
        id: 0,
        name: '郝鸿宇',
        class: '超级管理员',
        post: '创始人'
      },
      {
        id: 1,
        name: 'hhh',
        class: '管理员',
        post: '队长'
      }
    ],
    list: [{
      name: "scale-up"
    }]
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    let that = this;
    let selectTeamName = wx.getStorageSync('selectTeamName');
    that.setData({
      TeamName : selectTeamName,
    })
  },
  DeleteTeam:function (e) {
      wx.showModal({
        title: '提示',
        content: '确定删删除这个团队吗',
        success (res) {
          if (res.confirm) {
            wx.navigateBack() 
          } else if (res.cancel) {
            
          }
        }
      })
  }
})